package com.crocodileQ.domain.VO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.crocodileQ.domain.DTO.ChildrenDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentVO {

    private Long id;
    //文章id
    private Long articleId;
    //根评论id
    private Long rootId;
    //评论内容
    private String content;
    //所回复的目标的userId
    private Long toCommentUserId;
    //所回复的目标的昵称
    private String toCommentUserName;
    //回复目标评论的id
    private Long toCommentId;
    //点赞数
    private Long likeNum;
    //头像
    private String avatar;

    private Long createBy;
    private Date createTime;
    //本评论的用户昵称
    private String userName;

    //子评论
    private ChildrenDTO children;


}
